package oop.day02;

public class AnimalTest
{
    public static void main(String[] args)
    {
        Dog dog = new Dog("dd",2,"yellow");
        dog.eat();
        dog.lookHome();
        dog.drink();

        Fish fish = new Fish("hh",1,"gold");
        fish.eat();
        fish.drink();

        Chick chick = new Chick("kunkun",22,"gray");
        chick.eat();
        chick.drink();
        chick.layEggs();
    }
}
